//
//  LGTOCBaseUtil.h
//  KJLGT
//
//  Created by jenkin on 2019/8/10.
//  Copyright © 2019年 jenkin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface LGTOCBaseUtil : NSObject

+ (NSString *)getPhoneName;
+ (BOOL)isSIMInstalled;
+ (BOOL)checkJailBreak;
+ (NSString *)getIDFA;
+ (void)clearIDFA;
+ (NSDictionary *)getData:(NSDictionary *)data;
+ (NSString *) md5:(NSString *) input;
+ (BOOL)ISPHoneX;
+ (NSString *)MD5ForLower32Bite:(NSString *)string;

/**
 裁剪图片

 @param image 图片
 @param size 图片大小
 @return 图片
 */
+ (UIImage *)compressOriginalImage:(UIImage *)image toSize:(CGSize)size;

+ (BOOL)isContainsEmoji:(NSString *)string ;


+ (NSString *)addCookieWithUrl:(NSString *)url data:(NSDictionary *)data type:(NSInteger)type;

+ (NSString *)getDeviceToken:(NSData *)deviceToken;

//推荐图片
+ (UIImage *)recommendImage;

@end

NS_ASSUME_NONNULL_END
